package student.aistar.day07;

public abstract class  AbsractDemo {
    private String name;//允许普通属性

    public AbsractDemo() {
        System.out.println("构造方法///");
    }

    public String getName() { ///允许普通方法
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public AbsractDemo(String name) {//允许构造方法
        this.name = name;
    }

    public abstract void girth();//允许抽象方法, 没具体得方法体

    public abstract void getArea();
}
